export const baseUsage = `
import {PhSwitch} from 'phoeon'
interface Switch{
    type:{
        type:String,
        default:"primary" //主题色<primary|success|warning|danger|info>
    },
    disabled:{
        type:Boolean,
        default:false
    },
    value:{
        type:Boolean,
        default:false
    }

    @change : (v:boolean)=>void //change事件
}

//测试数据
{
    married:false
}
`;
export const demo1 = `
    <label>婚否</label>
    <ph-switch :value="married" @change="onMarriageChange"/>
`;
export const demo2 = `
    <label>年满18？</label>
    <ph-switch :value="married" @change="onMarriageChange" :disabled="true"/>
`;
